import request from '@/utils/request1'

// 设备档案分页
export function getList(params) {
  return request({
    url: '/equipmentArchive/selectPage',
    method: 'POST',
    params
  })
}

// 设备档案添加
export function addEquipmentArchive(data) {
  return request({
    url: '/equipmentArchive/insert',
    method: 'POST',
    data
  })
}

// 设备档案修改
export function updateEquipmentArchive(data) {
  return request({
    url: '/equipmentArchive/update',
    method: 'POST',
    data
  })
}

// 设备档案修改查询
export function selectEquipmentArchive(params) {
  return request({
    url: '/equipmentArchive/findId',
    method: 'post',
    params
  })
}

// 设备档案删除
export function delEquipmentArchive(data) {
  return request({
    url: '/equipmentArchive/del',
    method: 'POST',
    data
  })
}

